//
//  UIView+EV.h
//  LSYReader
//
//  Created by sam on 2018/3/29.
//  Copyright © 2018年 okwei. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (EV)
@property (nonatomic, setter=ev_setPosition:) CGPoint ev_position;
@property (nonatomic, setter=ev_setSize:) CGSize ev_size;
@property (nonatomic, setter=ev_setLeft:) CGFloat ev_left;
@property (nonatomic, setter=ev_setRight:) CGFloat ev_right;
@property (nonatomic, setter=ev_setTop:) CGFloat ev_top;
@property (nonatomic, setter=ev_setBottom:) CGFloat ev_bottom;
@property (nonatomic, setter=ev_setWidth:) CGFloat ev_width;
@property (nonatomic, setter=ev_setHeight:) CGFloat ev_height;
+(id) ev_viewWithNib:(NSString*)nib owner:(id)owner;

-(void)ev_sizeToFitAutoLayout;
- (void)ev_adjustIntegralFrame;
@end
